package com.yf.dxapp.module.app.controller.admin.appnotice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 通知公告 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppNoticeRespVO {

    @Schema(description = "通知ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12344")
    @ExcelProperty("通知ID")
    private Long id;

    @Schema(description = "通知标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("通知标题")
    private String title;

    @Schema(description = "通知内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("通知内容")
    private String content;

    @Schema(description = "图片地址")
    @ExcelProperty("图片地址")
    private String picture;

    @Schema(description = "通知状态（0正常 1关闭）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("通知状态（0正常 1关闭）")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}